<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
  <title></title>
  <style>
	div{
		width: 150px;
		height: 150px;
		border: 1px solid silver;
		float: left; /*向左浮动*/
	}
  </style>
 </head>

 <body>
  <div style="background-color:rgb(230,180,10)"></div>
  <div style="background-color:rgb(240,190,20)"></div>
  <div style="background-color:rgb(240,50,180)"></div>
  <div style="background-color:rgb(240,180,50)"></div>
  <div style="background-color:rgb(180,240,50)"></div>
  <div style="background-color:rgb(180,50,240)"></div>
  <div style="background-color:rgb(50,240,180)"></div>
  <div style="background-color:rgb(50,180,240)"></div>
 </body>
</html>
